package com.newhope.eshop.service.api;

import com.github.pagehelper.PageInfo;
import com.newhope.eshop.service.api.model.User;

import java.util.List;

public interface UserService {

    User findUser(User user);

    User findUser(Long userId);

    List<User> findAllUser();

    PageInfo<User> findByPage(Integer pageNum, Integer pageSize);

    void addUser(User user);

}
